package com.xyh.gulimall.order.to;

import com.xyh.gulimall.order.entity.OrderEntity;
import com.xyh.gulimall.order.entity.OrderItemEntity;
import lombok.Data;
import org.apache.commons.lang3.concurrent.BackgroundInitializer;

import java.math.BigDecimal;
import java.util.List;

@Data
public class OrderCreateTo {

    private OrderEntity order;

    private List<OrderItemEntity> orderItems;

    private BigDecimal payPrice;   //订单计算的应付价格

    private BigDecimal fare;   //运费
}
